package cc.linker.steplink.crm.merchant.dao;

import cc.linker.steplink.crm.merchant.pojo.*;

import java.util.List;
import java.util.Map;

public interface AppletInfoMapper {

	public void insertAppletInfo(AppletInfo appletInfo);

	public List<AppletInfo> getUserAppletInfo(Long adminId);
	
	public AppletInfo getAppletInfoById(String id);
	
	public AppletInfo getAppletInfo(Long id);

	public Integer getAppType(Long userId);

	public Long getBroadcastingId(Long userId);

	public String getAppId(Long userId);

	public List<AppletInfo> getInfoToRefreshToken();

	public TblCloudtbBroadcasting getBroadcastInfo(Map<String, Object> params);
	
	public LiveConfig getBroadcastLiveInfo(Map<String, Object> params);
	
	public List<WxPublic> getWxPublicInfo(Long channelid);
	
	public WxPublic getPayWxPublicInfo(Long channelId);
	
	WxappletInfoPo getWxappletInfo(String wxappletId);
}
